.class Lcom/example/m6shop/BalanceActivity$3;
.super Landroid/os/Handler;
.source "BalanceActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/BalanceActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/BalanceActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/BalanceActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    .line 102
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/BalanceActivity$3;)Lcom/example/m6shop/BalanceActivity;
    .locals 1

    .prologue
    .line 102
    iget-object v0, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 9
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v8, 0x1

    .line 104
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 105
    iget v4, p1, Landroid/os/Message;->arg1:I

    packed-switch v4, :pswitch_data_0

    .line 207
    :goto_0
    :pswitch_0
    return-void

    .line 109
    :pswitch_1
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->mcontext:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$0(Lcom/example/m6shop/BalanceActivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u767b\u9646\u8fd4\u56de\u4fe1\u606f"

    const-string v6, "\u767b\u9646\u6210\u529f"

    invoke-static {v4, v5, v6}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 113
    :pswitch_2
    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    .line 114
    .local v1, "checkinfo":Ljava/lang/String;
    const-string v4, "nologin"

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 116
    new-instance v3, Landroid/content/Intent;

    invoke-direct {v3}, Landroid/content/Intent;-><init>()V

    .line 117
    .local v3, "intent":Landroid/content/Intent;
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    const-class v5, Lcom/example/m6shop/LoginActivity;

    invoke-virtual {v3, v4, v5}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 118
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    invoke-virtual {v4, v3}, Lcom/example/m6shop/BalanceActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 123
    .end local v3    # "intent":Landroid/content/Intent;
    :cond_0
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->mcontext:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$0(Lcom/example/m6shop/BalanceActivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u63d0\u793a\u4fe1\u606f"

    iget-object v6, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v4, v5, v6}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 128
    .end local v1    # "checkinfo":Ljava/lang/String;
    :pswitch_3
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->mcontext:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$0(Lcom/example/m6shop/BalanceActivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u6570\u636e\u83b7\u53d6\u5931\u8d25"

    const-string v6, "\u5c06\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u6216\u8005\u8054\u7cfb\u5ba2\u670d"

    invoke-static {v4, v5, v6}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 132
    :pswitch_4
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_1
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->templs:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$1(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-lt v2, v4, :cond_2

    .line 135
    sget-object v4, Ljava/lang/System;->out:Ljava/io/PrintStream;

    const-string v5, "\u5904\u7406\u6570\u636e:\u8f6c\u6362\u6570\u636e\u5185\u5bb9"

    invoke-virtual {v4, v5}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 136
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->page:I
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$3(Lcom/example/m6shop/BalanceActivity;)I

    move-result v4

    if-ne v4, v8, :cond_1

    .line 137
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->ls:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$2(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v4}, Ljava/util/List;->clear()V

    .line 139
    :cond_1
    const/4 v2, 0x0

    :goto_2
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->templs:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$1(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-lt v2, v4, :cond_3

    .line 143
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->page:I
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$3(Lcom/example/m6shop/BalanceActivity;)I

    move-result v4

    if-ne v4, v8, :cond_4

    .line 144
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    new-instance v5, Ladapter/BalanceAdapter;

    iget-object v6, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    iget-object v7, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->ls:Ljava/util/List;
    invoke-static {v7}, Lcom/example/m6shop/BalanceActivity;->access$2(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v7

    invoke-direct {v5, v6, v7}, Ladapter/BalanceAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v5, v4, Lcom/example/m6shop/BalanceActivity;->bd:Ladapter/BalanceAdapter;

    .line 145
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    iget-object v4, v4, Lcom/example/m6shop/BalanceActivity;->lv1:Lorg/com/cctest/view/XListView;

    iget-object v5, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    iget-object v5, v5, Lcom/example/m6shop/BalanceActivity;->bd:Ladapter/BalanceAdapter;

    invoke-virtual {v4, v5}, Lorg/com/cctest/view/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 146
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    iget-object v4, v4, Lcom/example/m6shop/BalanceActivity;->lv1:Lorg/com/cctest/view/XListView;

    invoke-virtual {v4, v8}, Lorg/com/cctest/view/XListView;->setPullLoadEnable(Z)V

    .line 152
    :goto_3
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    iget-object v4, v4, Lcom/example/m6shop/BalanceActivity;->lv1:Lorg/com/cctest/view/XListView;

    new-instance v5, Lcom/example/m6shop/BalanceActivity$3$1;

    invoke-direct {v5, p0}, Lcom/example/m6shop/BalanceActivity$3$1;-><init>(Lcom/example/m6shop/BalanceActivity$3;)V

    invoke-virtual {v4, v5}, Lorg/com/cctest/view/XListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    goto/16 :goto_0

    .line 133
    :cond_2
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->ls:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$2(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v5

    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->templs:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$1(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/Blanbaen;

    invoke-interface {v5, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 132
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_1

    .line 140
    :cond_3
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->templs:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$1(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/Blanbaen;

    .line 141
    .local v0, "cc":Lbean/Blanbaen;
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->ls:Ljava/util/List;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$2(Lcom/example/m6shop/BalanceActivity;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v4, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 139
    add-int/lit8 v2, v2, 0x1

    goto :goto_2

    .line 148
    .end local v0    # "cc":Lbean/Blanbaen;
    :cond_4
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    iget-object v4, v4, Lcom/example/m6shop/BalanceActivity;->bd:Ladapter/BalanceAdapter;

    invoke-virtual {v4}, Ladapter/BalanceAdapter;->notifyDataSetChanged()V

    goto :goto_3

    .line 178
    .end local v2    # "i":I
    :pswitch_5
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->tv_cancost:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$4(Lcom/example/m6shop/BalanceActivity;)Landroid/widget/TextView;

    move-result-object v5

    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->map:Ljava/util/Map;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$5(Lcom/example/m6shop/BalanceActivity;)Ljava/util/Map;

    move-result-object v4

    const-string v6, "shopcost"

    invoke-interface {v4, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 179
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->tv_allcost:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$6(Lcom/example/m6shop/BalanceActivity;)Landroid/widget/TextView;

    move-result-object v5

    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->map:Ljava/util/Map;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$5(Lcom/example/m6shop/BalanceActivity;)Ljava/util/Map;

    move-result-object v4

    const-string v6, "zsr"

    invoke-interface {v4, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 180
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->tv_pay:Landroid/widget/TextView;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$7(Lcom/example/m6shop/BalanceActivity;)Landroid/widget/TextView;

    move-result-object v5

    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->map:Ljava/util/Map;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$5(Lcom/example/m6shop/BalanceActivity;)Ljava/util/Map;

    move-result-object v4

    const-string v6, "yj"

    invoke-interface {v4, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/CharSequence;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 183
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    # getter for: Lcom/example/m6shop/BalanceActivity;->bt:Landroid/widget/Button;
    invoke-static {v4}, Lcom/example/m6shop/BalanceActivity;->access$8(Lcom/example/m6shop/BalanceActivity;)Landroid/widget/Button;

    move-result-object v4

    new-instance v5, Lcom/example/m6shop/BalanceActivity$3$2;

    invoke-direct {v5, p0}, Lcom/example/m6shop/BalanceActivity$3$2;-><init>(Lcom/example/m6shop/BalanceActivity$3;)V

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0

    .line 199
    :pswitch_6
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    invoke-virtual {v4}, Lcom/example/m6shop/BalanceActivity;->getSource()Z

    .line 200
    iget-object v4, p0, Lcom/example/m6shop/BalanceActivity$3;->this$0:Lcom/example/m6shop/BalanceActivity;

    invoke-virtual {v4}, Lcom/example/m6shop/BalanceActivity;->getSource2()Z

    goto/16 :goto_0

    .line 105
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_2
        :pswitch_1
        :pswitch_4
        :pswitch_3
        :pswitch_5
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_6
    .end packed-switch
.end method
